<template>
  <div id="Home">
    <van-nav-bar
      title="首页"
      right-text="登录"
      @click-left="onClickLeft"
      @click-right="onClickRight"
    />
    <router-link to="/index/address">跳转地址</router-link>
  </div>
</template>

<script>

export default {
  methods: {
    onClickLeft() {
      Toast("返回");
    },
    onClickRight() {
      Toast("按钮");
    },
  },
};

</script>

<style></style>
